/*
 * Copyright (C) 2017 yixun All Rights Reserved.
 * 
 * Commission.java
 */
package com.yixun.qfbao.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * [文件名称]<br>
 * Commission.java<br>
 * <br>
 * [文件描述]<br>
 *  pojo bean<br>
 * <br>
 * [修改记录]<br>
 * 2017-10-26 15:35:03 创建 陶俊代码生成器<br>
 * 
 * @author 陶俊代码生成器
 * @version 1.00
 */
public class Commission implements Serializable{
    /**
	 * 序列化UID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	private Long id;
	/**
	 *机构id
	 */
	private Long agentCompanyId;
	/**
	 *开发商id
	 */
	private Long devCompanyId;
	/**
	 *楼盘id
	 */
	private Long premisesId;

	/**
	 *成交套数
	 */
	private String dealNum;
	/**
	 *成交金额
	 */
	private String dealAmount;
	/**
	 *结算周期
	 */
	private String settlementCycle;
	/**
	 *佣金状态:0:待结佣，1：已结佣
	 */
	private String commissionStatus;
	/**
	 *待结算佣金
	 */
	private String pendingCommission;
	/**
	 *待结算日期
	 */
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private Date pendingDate;
	/**
	 *实际结算佣金
	 */
	private BigDecimal actualCommission;
	/**
	 *实际结算日期
	 */
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private Date actualDate;
	/**
	 *佣金规则id
	 */
	private String commissionRuleId;
	/**
	 *手动输入原因
	 */
	private String reason;
	/**
	 *佣金类型：0机构佣金
	 */
	private String type;
	/**
	 *创建人
	 */
	private Long createUserId;
	/**
	 *创建时间
	 */
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**
	 *更新人
	 */
	private Long updateUserId;
	/**
	 *更新时间
	 */
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**
	 *删除状态，0:否，1是
	 */
	private String delFlag;
	/**
	 * 结佣操作人id
	 */
	private Long settlementUserId;

	/**
	 * 周期开始时间
	 */
	private Date beginTime;

	/**
	 * 周期结束时间
	 */
	private Date endTime;

	public Long getSettlementUserId() {
		return settlementUserId;
	}

	public void setSettlementUserId(Long settlementUserId) {
		this.settlementUserId = settlementUserId;
	}

	public Long getDevCompanyId() {
		return devCompanyId;
	}

	public void setDevCompanyId(Long devCompanyId) {
		this.devCompanyId = devCompanyId;
	}
	/**	 
	 *设置 :
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**	 
	 *获取 :
	 */
	public Long getId() {
		return this.id;
	}

	/**	 
	 *设置 :机构id
	 */
	public void setAgentCompanyId(Long agentCompanyId) {
		this.agentCompanyId = agentCompanyId;
	}

	/**	 
	 *获取 :机构id
	 */
	public Long getAgentCompanyId() {
		return this.agentCompanyId;
	}

	/**	 
	 *设置 :楼盘id
	 */
	public void setPremisesId(Long premisesId) {
		this.premisesId = premisesId;
	}

	/**	 
	 *获取 :楼盘id
	 */
	public Long getPremisesId() {
		return this.premisesId;
	}

	/**	 
	 *设置 :成交套数
	 */
	public void setDealNum(String dealNum) {
		this.dealNum = dealNum;
	}

	/**	 
	 *获取 :成交套数
	 */
	public String getDealNum() {
		return this.dealNum;
	}

	/**	 
	 *设置 :成交金额
	 */
	public void setDealAmount(String dealAmount) {
		this.dealAmount = dealAmount;
	}

	/**	 
	 *获取 :成交金额
	 */
	public String getDealAmount() {
		return this.dealAmount;
	}

	/**	 
	 *设置 :结算周期
	 */
	public void setSettlementCycle(String settlementCycle) {
		this.settlementCycle = settlementCycle;
	}

	/**	 
	 *获取 :结算周期
	 */
	public String getSettlementCycle() {
		return this.settlementCycle;
	}

	/**	 
	 *设置 :佣金状态:0:待结佣，1：已结佣
	 */
	public void setCommissionStatus(String commissionStatus) {
		this.commissionStatus = commissionStatus;
	}

	/**	 
	 *获取 :佣金状态:0:待结佣，1：已结佣
	 */
	public String getCommissionStatus() {
		return this.commissionStatus;
	}

	/**	 
	 *设置 :待结算佣金
	 */
	public void setPendingCommission(String pendingCommission) {
		this.pendingCommission = pendingCommission;
	}

	/**	 
	 *获取 :待结算佣金
	 */
	public String getPendingCommission() {
		return this.pendingCommission;
	}

	/**	 
	 *设置 :待结算日期
	 */
	public void setPendingDate(Date pendingDate) {
		this.pendingDate = pendingDate;
	}

	/**	 
	 *获取 :待结算日期
	 */
	public Date getPendingDate() {
		return this.pendingDate;
	}

	/**	 
	 *设置 :实际结算佣金
	 */
	public void setActualCommission(BigDecimal actualCommission) {
		this.actualCommission = actualCommission;
	}

	/**	 
	 *获取 :实际结算佣金
	 */
	public BigDecimal getActualCommission() {
		return this.actualCommission;
	}

	/**	 
	 *设置 :实际结算日期
	 */
	public void setActualDate(Date actualDate) {
		this.actualDate = actualDate;
	}

	/**	 
	 *获取 :实际结算日期
	 */
	public Date getActualDate() {
		return this.actualDate;
	}

	/**	 
	 *设置 :佣金规则id
	 */
	public void setCommissionRuleId(String commissionRuleId) {
		this.commissionRuleId = commissionRuleId;
	}

	/**	 
	 *获取 :佣金规则id
	 */
	public String getCommissionRuleId() {
		return this.commissionRuleId;
	}

	/**	 
	 *设置 :手动输入原因
	 */
	public void setReason(String reason) {
		this.reason = reason;
	}

	/**	 
	 *获取 :手动输入原因
	 */
	public String getReason() {
		return this.reason;
	}

	/**	 
	 *设置 :佣金类型：0机构佣金
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**	 
	 *获取 :佣金类型：0机构佣金
	 */
	public String getType() {
		return this.type;
	}

	/**	 
	 *设置 :创建人
	 */
	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	/**	 
	 *获取 :创建人
	 */
	public Long getCreateUserId() {
		return this.createUserId;
	}

	/**	 
	 *设置 :创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**	 
	 *获取 :创建时间
	 */
	public Date getCreateTime() {
		return this.createTime;
	}

	/**	 
	 *设置 :更新人
	 */
	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}

	/**	 
	 *获取 :更新人
	 */
	public Long getUpdateUserId() {
		return this.updateUserId;
	}

	/**	 
	 *设置 :更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**	 
	 *获取 :更新时间
	 */
	public Date getUpdateTime() {
		return this.updateTime;
	}

	/**	 
	 *设置 :删除状态，0:否，1是
	 */
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	/**	 
	 *获取 :删除状态，0:否，1是
	 */
	public String getDelFlag() {
		return this.delFlag;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
}
